package org.feng.service;

import org.feng.entity.CommonDictionary;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author fengjinsong
 * @since 2023-09-01
 */
public interface ICommonDictionaryService extends IService<CommonDictionary> {

    /**
     * 通过编码查字典数据
     *
     * @param code 字典编码
     * @return 字典数据
     */
    CommonDictionary selectOneByCode(String code);
}
